<!-- 查询 content -->
{{ $contentSQL := "* FROM content WHERE id=? order by sortNo desc" }}

{{$contentID := printf "/single/%s" (lastURI .UrlPathParam) }}

{{ $content := selectOne "content" $contentSQL $contentID }}

<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <title>{{ $content.Title }}</title>
  <meta name="description" content="{{ $content.Description }}" />
  <meta name="keyword" content="{{ $content.Keyword }}" />

{{template "bodystart.html"  }}
			
<article id="{{ $content.Id }}" class="{{ $content.Id }} post type-post status-publish format-standard hentry category-uncategorized" itemtype="https://schema.org/CreativeWork" itemscope>
	<div class="inside-article">
					<header class="entry-header">
				<h1 class="entry-title" itemprop="headline">{{ $content.Title }}</h1>
					</header>
			
		<div class="entry-content" itemprop="text">

			{{ safeHTML $content.Content }}
		

        </div>

		
			</div>
</article>
		
{{template "bodyend.html" }}